package chapter_23_stragtegy.my;

/**
 * Created by CharloYao on 2017/9/29.
 * 店员类(context类)；封装了ICoffee接口；分离算法，选择实现
 */
public class SalesCleak {

    private ICoffee iCoffee;

    public SalesCleak(ICoffee iCoffee) {
        this.iCoffee = iCoffee;
    }

    public void makeCoffee(){
        iCoffee.make();
    }
}
